package com.junjie.checkin.entity.Enum.conventer;

import com.junjie.checkin.entity.Enum.ActivityStatusEnum;
import org.springframework.stereotype.Component;

/**
 * @author 洪浚杰
 * @description
 * @date 2025/6/19 14:25
 */
@Component
public class ActivityStatusEnumConverter extends AbstractStringToEnumConverter<ActivityStatusEnum>{
    @Override
    public ActivityStatusEnum convert(String source) {
        return ActivityStatusEnum.fromValue(source);
    }
}
